home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
printgrf
/
readme.txt
< prev
Wrap
Text File
|
1994-11-21
|
892b
|
18 lines
PrintGraph
By Scott Fitzenrider
PrintGraph is FREEWARE. You may modify and use it as you find fit, but it may
not be resold or used in any way to make a profit. If you do use it, some
credit would be appreciated. You are encouraged to send your
comments/suggestions to:
Flounder99@aol.com
PrintGraph is a handy function that uses the Windows API to print a graph or a
picture box that contains a Windows Metafile (*.WMF). The parameters it accepts
are the graph or picture box control the upper left corner and the lower left corner
of the area on the page where the graph is to be printed. The coordinates MUST be in
Pixels. The graph will maintain the shape displayed on the screen and will be scaled
to fit the destination box on the printed page. I resize the control to the shape I
want, call the function, and then return the control to its original size.